<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js App" />
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";
import { userApi } from "@/api";
export default {
  name: "Home",
  components: {
    HelloWorld,
  },
  mounted() {
    this.getSignLog();
  },
  methods: {
    getSignLog() {
      userApi.getSignDataList({ page: 1, pageSize: 10 }).then((res) => {
        if (res.data.code) {
          console.log(res.data.code);
        }
      });
    },
  },
};
</script>
